﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ChoPhanXuLy.aspx.cs" Inherits="Modules_ChoPhanXuLy" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../contents/js/jquery.js" type="text/javascript"></script>
    <link href="../contents/plugins/nyroModal/nyroModal.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content-holder">
        <div class="div-content">
            <div class="div-search">
                <div style="float: right; margin-bottom: 0px; clear: both; padding: 5px 0px 5px 0px;
                    padding-left: -2px; border: 0px solid #CDCDCD; height: 35px; width: 997px;">
                    <table style="float: right;">
                        <tr>
                            <td>
                                <asp:TextBox ID="txtSearchProfile" runat="server" Width="250px" Height="21px"></asp:TextBox>
                                &nbsp;
                            </td>
                            <td>
                                <asp:Button CssClass="button-primary" ID="Button1" runat="server" Text="Tìm kiếm"
                                    Width="125px" Height="30px" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="div-title-content">
                    Danh sách hồ sơ
                </div>
            </div>
        </div>
        <div style="width: auto; height: auto; clear: both;">
            <table style="width: 100%; background-color: #ddd;" cellspacing="1" class="repeater-hover">
                <tr class="tr-header">
                    <td>
                        STT
                    </td>
                    <td>
                        Mã hồ sơ
                    </td>
                    <td>
                        Tên dịch vụ
                    </td>
                    <td>
                        Cá nhân tổ chức nộp HS
                    </td>
                    <td>
                        Ngày chuyển PCM
                    </td>
                    <td>
                        Ngày hẹn trả KQ
                    </td>
                    <td>
                        Thao tác
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rptProfiles">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%#  Container.ItemIndex +start+ 1  %>
                            </td>
                            <td>
                                <%# Eval("ProfileCode") %>
                            </td>
                            <td>
                                <%# Eval("ServiceName") %>
                            </td>
                            <td>
                                <%# Eval("SubscriberName") %>
                            </td>
                            <td>
                                <%# Eval("MeetDate", "{0:dd/MM/yyyy}")%>
                            </td>
                            <td>
                                <%# Eval("MoveToDepartment","{0:dd/MM/yyyy}") %>
                            </td>
                            <td>
                                <a href='../Modules/XuLyHS.aspx?id=<%# Eval("ID") %>' title="Xem chi tiết">
                                    Xem</a> &nbsp;<span class="sep">|</span>&nbsp; <a href="../Modules/ChuyenXuLy.aspx?id=<%# Eval("ID") %>"
                                        title="Chuyển xử lý">Chuyển XL</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <% if (rptProfiles.Items.Count == 0)
                   { %>
                <tr>
                    <td colspan="7">
                        <div class="empty-list">
                            Hiện tại chưa có dữ liệu...</div>
                    </td>
                </tr>
                <% } %>
            </table>
        </div>
        <div id="divPagination" runat="server">
            <div id="pagination">
                <webdiyer:AspNetPager runat="server" ID="AspNetPager1" HorizontalAlign="Center" PagingButtonSpacing="8px"
                    CssClass="tsc_pagination tsc_paginationA tsc_paginationA01" UrlPaging="false"
                    PrevNextButtonsClass="previous" Width="100%" PagingButtonType="Text" NumericButtonType="Text"
                    FirstPageText="Trang đầu" LastPageText="Trang cuối" NextPageText="Sau" PrevPageText="Trước"
                    ShowMoreButtons="true" NavigationButtonType="Text" ButtonImageExtension="gif"
                    ButtonImageNameExtension="n" ShowCustomInfoSection="Never" DisabledButtonImageNameExtension="g"
                    ShowNavigationToolTip="true" UrlPageIndexName="p" OnPageChanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
